<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for src/components/Member.vue</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="..\..\prettify.css" />
    <link rel="stylesheet" href="..\..\base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(..\..\sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="..\..\index.html">All files</a> / <a href="index.html">src/components</a> Member.vue
    </h1>
    <div class='clearfix'>
    </div>
  </div>
  <div class='status-line low'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">&lt;template&gt;
  &lt;div id="app"&gt;
    &lt;div class="member-bj"&gt;
      &lt;van-cell :border="false" size="large"  is-link title-class="custom-title1" value-class="member-values"&gt;
        &lt;template #title&gt;
          &lt;span class="custom-title "&gt;{{info.nickname}}&lt;/span&gt;
        &lt;/template&gt;
        &lt;template #label&gt;
            &lt;van-tag type="primary" size="large" color="#ffbf5c" round&gt;ViP：&lt;span v-if="info.vip == 1" @click="$router.push('/SmrzMemberkt')"&gt;未开通&lt;/span&gt; &lt;span v-if="info.vip == 2" @click="$router.push('/SmrzMemberkt')" &gt;已开通&lt;/span&gt; &lt;/van-tag&gt;
        &lt;/template&gt;
        &lt;template #icon&gt;
          &lt;img :src="info.headimgurl" alt="" class="left-img left-img-size"&gt;
        &lt;/template&gt;
        &lt;template #default&gt;
&nbsp;
          &lt;span v-if="info.rzzt == 0" @click="$router.push('/Smrz')" &gt;未实名&lt;/span&gt;
          &lt;span v-if="info.rzzt == 1" @click="$router.push('/Smrz')"&gt;已实名&lt;/span&gt;
        &lt;/template&gt;
      &lt;/van-cell&gt;
    &lt;/div&gt;
    &lt;!-- &lt;van-image width="100%"  height="60" src="../../static/image/member1.jpg" class="gqimg"  @click="tiao" /&gt; --&gt;
    &lt;div  class="gqimg" &gt;
      &lt;img width="100%" class="van-image__img" height="60px" src="../../static/image/member1.jpg" @click="tiao"&gt;
    &lt;/div&gt;
    &lt;div class="pad-w"&gt;
      &lt;van-cell-group inset&gt;
        &lt;van-cell title="实名认证" icon="certificate" is-link  to="/Smrz" /&gt;
        &lt;van-cell title="个人资料" icon="contact" is-link to="/Memberinfo"/&gt;
        &lt;van-cell title="会员权益" icon="shop-o" is-link to="/About?id=16"/&gt;
        &lt;van-cell title="我的消息" icon="envelop-o" is-link to="/Message"/&gt;
        &lt;van-cell title="咨询客服" icon="phone-o" @click="callPhone" is-link :value="data.kftel"/&gt;
      &lt;/van-cell-group&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/template&gt;
&lt;style &gt;
  body{background: #F7F7F7;}
&lt;/style&gt;
&lt;script&gt;
export default {
<span class="fstat-no" title="function not covered" >  data () {</span>
<span class="cstat-no" title="statement not covered" >    return {</span>
      info:[],
      data:[],
    }
  },
  components: {
  },
<span class="fstat-no" title="function not covered" >  created:function () {</span>
<span class="cstat-no" title="statement not covered" >      this.$emit('footer', true);</span>
  },
&nbsp;
&nbsp;
<span class="fstat-no" title="function not covered" >  mounted () {</span>
<span class="cstat-no" title="statement not covered" >    this.id = this.$route.query.id;</span>
<span class="cstat-no" title="statement not covered" >    this.recordapi();</span>
  },
  	methods: {
<span class="fstat-no" title="function not covered" >      tiao(){</span>
<span class="cstat-no" title="statement not covered" >        console.log(1);</span>
<span class="cstat-no" title="statement not covered" >         this.$router.push('Memberkt')</span>
      },
<span class="fstat-no" title="function not covered" >      callPhone(){</span>
<span class="cstat-no" title="statement not covered" >        window.location.href = 'tel://'+this.data.kftel</span>
      },
<span class="fstat-no" title="function not covered" >      recordapi(){</span>
<span class="cstat-no" title="statement not covered" >          var that = this;</span>
<span class="cstat-no" title="statement not covered" >          var userid = that.$cookieStore.getCookie('userid');</span>
<span class="cstat-no" title="statement not covered" >          console.log(userid);</span>
<span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >          that.$api.post("/Index/member",{'id':userid}).then(res =&gt; {</span></span>
<span class="cstat-no" title="statement not covered" >            console.log(res);</span>
<span class="cstat-no" title="statement not covered" >             console.log(userid);</span>
<span class="cstat-no" title="statement not covered" >            that.info = res.info;</span>
<span class="cstat-no" title="statement not covered" >            that.data = res.data;</span>
          });
      },
    }
}
&lt;/script&gt;
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Nov 27 2023 23:16:11 GMT+0800 (GMT+08:00)
</div>
</div>
<script src="..\..\prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="..\..\sorter.js"></script>
</body>
</html>
